package com.nbot.server.mapper.master;

import com.nbot.server.domain.UserDO;

import java.util.List;
import java.util.Map;

/**
 * Created by lovewinner on 2018/6/5.
 */
public interface UserMapper {
    UserDO get(Long userId);

    List<UserDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(UserDO user);

    int update(UserDO user);

    int remove(Long userId);

    int batchRemove(Long[] userIds);

    Long[] listAllDept();
}
